package com.th.supcom.pds.auditprescription.client.widget;

import net.carefx.pms.domain.Dict;

import com.extjs.gxt.ui.client.widget.form.ComboBox;
import com.extjs.gxt.ui.client.widget.form.TextField;
import com.th.supcom.framework.dict.web.gwt.client.DictComboBox;

/**
 * @author yzhang
 */
/**
 *
 */
public class AuditPrescripFields
{
    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";
    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";
    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";
    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
    /** 床号 */
    private TextField <String> m_bedNo;
    /** 费别名称 */
    private TextField <String> m_chargeTypeName;
    /** 管制类型 */
    private TextField <String> m_controlType;
    /** 入科时间 */
    private TextField <String> m_deptAdmissionDate;

    /** 在科天数 */
    private TextField <Integer> m_deptAdmissionDays;
    /** 在院科室 */
    private TextField <String> m_deptAdmissionName;
    /** 开方人员姓名 */
    private TextField <String> m_diagEmpName;
    /** 开方时间 */
    private TextField <String> m_enterTime;
    /** 开单科室 */
    private TextField <String> m_orderedBy;
    /** 病人ID. */
    private TextField <String> m_patientId;
    /** 病人姓名 */
    private TextField <String> m_patientName;

    /** 患者类型/来源 */
    private TextField <String> m_prescSource;

    /** 处方类型 */
    private TextField <String> m_prescType;

    /** 药品付数 */
    private TextField <Integer> m_repetition;

    /** 就诊次数 */
    private TextField <Long> m_watchTimes;

    public AuditPrescripFields ()
    {
        createFields ();
        DictComboBox dit=new DictComboBox ("EMR0005");
    }

    /**
     * 创建组件
     */
    private void createFields ()
    {
        m_patientId = new TextField <String> ();
        m_patientId.setFieldLabel ("患&nbsp;者&nbsp;I&nbsp;D&nbsp;");
        m_patientId.setEnabled (false);

        m_patientName = new TextField <String> ();
        m_patientName.setFieldLabel ("患者姓名");
        m_patientName.setEnabled (false);

        m_deptAdmissionDate = new TextField <String> ();
        m_deptAdmissionDate.setFieldLabel ("入科时间");
        m_deptAdmissionDate.setEnabled (false);

        m_prescSource = new TextField <String> ();
        m_prescSource.setFieldLabel ("患者类型");
        m_prescSource.setEnabled (false);

        m_deptAdmissionDays = new TextField <Integer> ();
        m_deptAdmissionDays.setFieldLabel ("在科天数");
        m_deptAdmissionDays.setEnabled (false);

        m_chargeTypeName = new TextField <String> ();
        m_chargeTypeName.setFieldLabel ("费&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别");
        m_chargeTypeName.setEnabled (false);

        m_bedNo = new TextField <String> ();
        m_bedNo.setFieldLabel ("床&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号");
        m_bedNo.setEnabled (false);

        m_deptAdmissionName = new TextField <String> ();
        m_deptAdmissionName.setFieldLabel ("在院科室");
        m_deptAdmissionName.setEnabled (false);

        m_watchTimes = new TextField <Long> ();
        m_watchTimes.setFieldLabel ("就诊次数");
        m_watchTimes.setEnabled (false);

        m_prescType = new TextField <String> ();
        m_prescType.setFieldLabel ("处方类型");
        m_prescType.setEnabled (false);

        m_controlType = new TextField <String> ();
        m_controlType.setFieldLabel ("管制类别");
        m_controlType.setEnabled (false);

        m_repetition = new TextField <Integer> ();
        m_repetition.setFieldLabel ("付&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;数");
        m_repetition.setEnabled (false);

        m_orderedBy = new TextField <String> ();
        m_orderedBy.setFieldLabel ("开单科室");
        m_orderedBy.setEnabled (false);

        m_diagEmpName = new TextField <String> ();
        m_diagEmpName.setFieldLabel ("开&nbsp;&nbsp;单&nbsp;&nbsp;人");
        m_diagEmpName.setEnabled (false);

        m_enterTime = new TextField <String> ();
        m_enterTime.setFieldLabel ("开方时间");
        m_enterTime.setEnabled (false);

    }

    /**
     * 设置床号
     * 
     * @return
     */
    public TextField <String> getBedNo ()
    {
        return m_bedNo;
    }

    /**
     * 获取费别
     * 
     * @return
     */
    public TextField <String> getChargeTypeName ()
    {
        return m_chargeTypeName;
    }

    /**
     * 设置管制类别
     * 
     * @return
     */
    public TextField <String> getControlType ()
    {
        return m_controlType;
    }

    /**
     * 获取入科时间
     * 
     * @return
     */
    public TextField <String> getDeptAdmissionDate ()
    {
        return m_deptAdmissionDate;
    }

    /**
     * 获取在科天数
     * 
     * @return
     */
    public TextField <Integer> getDeptAdmissionDays ()
    {
        return m_deptAdmissionDays;
    }

    /**
     * 获取在院科室
     * 
     * @return
     */
    public TextField <String> getDeptAdmissionName ()
    {
        return m_deptAdmissionName;
    }

    /**
     * 获取开方人
     * 
     * @return
     */
    public TextField <String> getDiagEmpName ()
    {
        return m_diagEmpName;
    }

    /**
     * 获取开方时间
     * 
     * @return
     */
    public TextField <String> getEnterTime ()
    {
        return m_enterTime;
    }

    /**
     * 获取开方科室
     * 
     * @return
     */
    public TextField <String> getOrderedBy ()
    {
        return m_orderedBy;
    }

    /**
     * 获取患者id
     * 
     * @return
     */
    public TextField <String> getPatientId ()
    {
        return m_patientId;
    }

    /**
     * 获取患者姓名
     * 
     * @return
     */
    public TextField <String> getPatientName ()
    {
        return m_patientName;
    }

    /** 获取患者类型 门诊，住院等 */
    public TextField <String> getPrescSource ()
    {
        return m_prescSource;
    }

    /**
     * 获取处方类型
     * 
     * @return
     * 
     */
    public TextField <String> getPrescType ()
    {
        return m_prescType;
    }

    /**
     * 获取付数
     * 
     * @return
     */
    public TextField <Integer> getRepetition ()
    {
        return m_repetition;
    }

    /**
     * 获取就诊次数
     * 
     * @return
     */
    public TextField <Long> getWatchTimes ()
    {
        return m_watchTimes;
    }

    /**
     * 获取床号
     * 
     * @param bedNo
     */
    public void setBedNo (final TextField <String> bedNo)
    {
        m_bedNo = bedNo;
    }

    /**
     * 设置费别
     * 
     * @param chargeTypeName
     */
    public void setChargeTypeName (final TextField <String> chargeTypeName)
    {
        m_chargeTypeName = chargeTypeName;
    }


    /**
     * 设置管制类别
     * 
     * @param controlType
     */
    public void setControlType (final TextField <String> controlType)
    {
        m_controlType = controlType;
    }

    /**
     * 设置入科时间
     * 
     * @param deptAdmissionDate
     */
    public void setDeptAdmissionDate (final TextField <String> deptAdmissionDate)
    {
        m_deptAdmissionDate = deptAdmissionDate;
    }

    /**
     * 设置在科天数
     * 
     * @param deptAdmissionDays
     */
    public void setDeptAdmissionDays (final TextField <Integer> deptAdmissionDays)
    {
        m_deptAdmissionDays = deptAdmissionDays;
    }

    /**
     * 设置在院科室
     * 
     * @param deptAdmissionName
     */
    public void setDeptAdmissionName (final TextField <String> deptAdmissionName)
    {
        m_deptAdmissionName = deptAdmissionName;
    }

    /**
     * 设置开方人
     * 
     * @param diagEmpName
     */
    public void setDiagEmpName (final TextField <String> diagEmpName)
    {
        m_diagEmpName = diagEmpName;
    }


    /**
     * 设置开方时间
     * 
     * @param enterTime
     */
    public void setEnterTime (final TextField <String> enterTime)
    {
        m_enterTime = enterTime;
    }

    /**
     * 设置开方科室
     * 
     * @param orderedBy
     */
    public void setOrderedBy (final TextField <String> orderedBy)
    {
        m_orderedBy = orderedBy;
    }

    /**
     * 设置患者id
     * 
     * @param patientId
     */
    public void setPatientId (final TextField <String> patientId)
    {
        m_patientId = patientId;
    }

    /**
     * 设置患者姓名
     * 
     * @param patientName
     */
    public void setPatientName (final TextField <String> patientName)
    {
        m_patientName = patientName;
    }

    /** 设置患者类型 门诊，住院等 */
    public void setPrescSource (final TextField <String> prescSource)
    {
        m_prescSource = prescSource;
    }

    /**
     * 设置处方类型
     * 
     * @param prescType
     */
    public void setPrescType (final TextField <String> prescType)
    {
        m_prescType = prescType;
    }

    /**
     * 设置付数
     * 
     * @param repetition
     */
    public void setRepetition (final TextField <Integer> repetition)
    {
        m_repetition = repetition;
    }

    /**
     * 设置就诊次数
     * 
     * @param watchTimes
     */
    public void setWatchTimes (final TextField <Long> watchTimes)
    {
        m_watchTimes = watchTimes;
    }
}
